<%--
  Created by IntelliJ IDEA.
  User: wxw20
  Date: 2024/12/25
  Time: 20:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>

</head>
<style>
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
  }
  h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  label {
    display: block;
    margin-bottom: 5px;
    color: #555;
  }
  input[type="text"],
  input[type="file"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .radio-group {
    margin: 10px 0;
  }
  .radio-group label {
    display: inline-block;
    margin-right: 15px;
    color: #555;
  }
  .radio-group input[type="radio"] {
    margin-right: 5px;
    accent-color: #28a745;
  }
  input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
  }
  input[type="submit"]:hover {
    background-color: #218838;
  }
</style>
<body>
<form action="index" method="post" enctype="multipart/form-data">
  <input type="text" name="comments" placeholder="评论" />
  <p>评星<p>
  <input type="radio" name="hobby" value="1">一星
  <input type="radio" name="hobby" value="2">两星
  <input type="radio" name="hobby" value="3">三星
  <input type="radio" name="hobby" value="4">四星
  <input type="radio" name="hobby" value="5">五星
  <input type="text" name="uer" value="${user.username}" placeholder="用户名" />
  <input type="file" name="up" multiple />
  <input type="submit" value="提交" />
</form>
</body>
</html>
